import { t } from '@/hooks/web/useI18n';
import type { MenuModule } from '@/router/types';

const spuManage: MenuModule = {
  orderNo: 90002,
  menu: {
    path: '/spu',
    name: t('routes.spu.spu'),
    children: [
      {
        path: 'category',
        name: t('routes.spu.category'),
      },
      {
        path: 'bizMetaAttr',
        name: t('routes.spu.bizMetaAttr'),
      },
      {
        path: 'bizMetaAttrRule',
        name: t('routes.spu.bizMetaAttrRule'),
      },
      {
        path: 'spuManage',
        name: t('routes.spu.spuManage'),
      },
      {
        path: 'materialQuotation',
        name: t('routes.spu.materialQuotation'),
      },
      {
        path: 'printQuotation',
        name: t('routes.spu.printQuotation'),
      },
      {
        path: 'processQuotation',
        name: t('routes.spu.processQuotation'),
      },
      {
        path: 'materialLoss',
        name: t('routes.spu.materialLoss'),
      },
      {
        path: 'profitAllocation',
        name: t('routes.spu.profitAllocation'),
      },
      {
        path: 'minimumCharge',
        name: t('routes.spu.minimumCharge'),
      },
      {
        path: 'invoice',
        name: t('routes.spu.invoice'),
      },
    ],
  },
};
export default spuManage;
